package com.task.core.service;


import com.task.core.domain.DataOperationInfo;
import com.task.core.domain.MissionInfo;
import com.task.core.domain.info.SourceConfig;

import java.util.List;

public interface DataOperationInfoService {


    DataOperationInfo getCanUseSendData(String tableName, String relationTableName, List<String> sourceCodes, String missionByCodeCode, String affiliateCode, String advertiserCode);

    void insertDataToRelation(String indexTableCode, DataOperationInfo data, MissionInfo missionByCode, String dataType, SourceConfig sourceConfig);

    void deleteRelationData(String historyCode, String dataId, String dataType);

    void updateRelationData(String historyCode, String dataId, String dataType);
}
